//
//  Constants.m
//  KIASupervisory
//
//  Created by tan_xin on 14-7-9.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import "Constants.h"

@implementation Constants

/**
 *  根据请求方法id获取对应的方法名称
 *
 *  @param methodId 方法id
 *
 *  @return 方法名称
 */
+ (NSString *)getRequestMethodNameByID:(RequestMethodId)methodId {
    NSString *methodName = @"";
    switch (methodId) {
        case login:
            methodName = @"login";
            break;
        case modifyPwd:
            methodName = @"modifyPwd";
            break;
        case userInfo:
            methodName = @"userInfo";
            break;
        case getCityList:
            methodName = @"getCityList";
            break;
        case getXiaoquList:
            methodName = @"getXiaoquList";
            break;
        case getvercode:
            methodName = @"getvercode";
            break;
        case getWenzhangList:
            methodName = @"getWenzhangList";
            break;
        case wancWeixiu:
            methodName = @"wancWeixiu";
            break;
        case finishWeixiu:
            methodName = @"finishWeixiu";
            break;
        case getWenzhang:
            methodName = @"getWenzhang";
            break;
        case tongzhi:
            methodName = @"tongzhi";
            break;
        case tongzhiDetail:
            methodName = @"tongzhiDetail";
            break;
        case zhuhuList1:
            methodName = @"zhuhuList";
            break;
        case logout:
            methodName = @"logout";
            break;
        case weixiuList:
            methodName = @"weixiuList";
            break;
        case weixiuDetail:
            methodName = @"weixiuDetail";
            break;
        case weixiuChuli:
            methodName = @"weixiuChuli";
            break;
        case cuixiu:
            methodName = @"cuixiu";
            break;
        case louList:
            methodName = @"louList";
            break;
        case zhuhuDetail:
            methodName = @"zhuhuDetail";
            break;
        case chanquan:
            methodName = @"chanquan";
            break;
        case zulin:
            methodName = @"zulin";
            break; 
        case ruzhu:
            methodName = @"ruzhu";
            break;
        case fushuwu:
            methodName = @"fushuwu";
            break;
        case zhuangxiu:
            methodName = @"zhuangxiu";
            break;
        case zhuhuList:
            methodName = @"zhuhuList";
            break;
        case createWeixiu:
            methodName = @"createWeixiu";
            break;
        case weixiuPj:
            methodName = @"weixiuPj";
            break;
        case getYpById:
            methodName = @"getYpById";
            break;
        case checkYzm:
            methodName = @"checkYzm";
            break;
        case getZhuhuListByPhone:
            methodName = @"getZhuhuListByPhone";
            break;
        case identityVerification:
            methodName = @"identityVerification";
            break;
        case excelImport:
            methodName = @"excelImport";
            break;
        case searchYp:
            methodName = @"searchYp";
            break;
        case searchWenzhang:
            methodName = @"searchWenzhang";
            break;
        case getShoushuoByXiaoqu:
            methodName = @"getShoushuoByXiaoqu";
            break;
        case createShuoshuo:
            methodName = @"createShuoshuo";
            break;
        case updateUserinfo:
            methodName = @"updateUserinfo";
            break;
        case findPwdYzm:
            methodName = @"findPwdYzm";
            break;
        case resetPwd:
            methodName = @"resetPwd";
            break;
        case zhiding:
            methodName = @"zhiding";
            break;
        case addPinglun:
            methodName = @"addPinglun";
            break;
        case deletePinglun:
            methodName = @"deletePinglun";
            break;
        case zanDo:
            methodName = @"zanDo";
            break;
        case deleteShuoshuo:
            methodName = @"deleteShuoshuo";
            break;
        case getUnreadCount:
            methodName = @"getUnreadCount";
            break;
        case appVersionCheck:
            methodName = @"appVersionCheck";
            break;
        case sendDeviceInfo:
            methodName = @"sendDeviceInfo";
            break;
        case searchTongzhi:
            methodName = @"searchTongzhi";
            break;
        case pipei:
            methodName = @"pipei";
            break;
        default:
            break;
    }
    
    return methodName;
}

@end
